package com.globalresources.po;

/**
 * Friend entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Friend implements java.io.Serializable {

	// Fields

	private Integer id;
	private User userByFriendId;
	private User userByOwnerId;
	private String nickName;
	private Byte isInBacklist;

	// Constructors

	/** default constructor */
	public Friend() {
	}

	/** full constructor */
	public Friend(User userByFriendId, User userByOwnerId, String nickName, Byte isInBacklist) {
		this.userByFriendId = userByFriendId;
		this.userByOwnerId = userByOwnerId;
		this.nickName = nickName;
		this.isInBacklist = isInBacklist;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUserByFriendId() {
		return this.userByFriendId;
	}

	public void setUserByFriendId(User userByFriendId) {
		this.userByFriendId = userByFriendId;
	}

	public User getUserByOwnerId() {
		return this.userByOwnerId;
	}

	public void setUserByOwnerId(User userByOwnerId) {
		this.userByOwnerId = userByOwnerId;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Byte getIsInBacklist() {
		return this.isInBacklist;
	}

	public void setIsInBacklist(Byte isInBacklist) {
		this.isInBacklist = isInBacklist;
	}

}